home *** CD-ROM | disk | FTP | other *** search
- Q32842 Source that Hangs the Compiler
- C Compiler
- 5.10 | 5.10
- MS-DOS | OS/2
-
- Summary:
- The code below will hang the third pass of the Microsoft C Compiler
- Version 5.10. This problem can be avoided by compiling with
- optimization disabled ( /Od ).
-
- More Information:
- The following is a code example:
-
- #include <stdio.h>
-
- #define MAXCHAR 255
- #define EOL 13
-
- char instring[MAXCHAR] ;
- int portno ;
-
- int WriteOutput ( int portno )
- {
-
- int i ;
- int errorcode ;
-
- if ( portno == 0 )
- printf ("%s", instring ) ;
-
- if ( portno == 1 )
- for ( i = 0 ; instring[i] =! EOL ; i++ )
- {
- if ( errorcode = wrtch_a1 ( portno, instring[i] ) != 0 )
- errmsg (" Kan ej skriva till modemet ", errorcode, 0 );
- }
-
- if ( portno == 2 )
- {
- }
- } /* end of function WriteOutput */
-
-
- Keywords: buglist5.10 qfbv
- Updated 88/07/29 12:16
-